package adc.app.spec;

/**
 * Base class for the business exceptions.
 * 
 * @author Alex
 * 
 */
public class BsException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	/**
	 * Create an instance of this class by providing the error message and the
	 * cause.
	 * 
	 * @param message
	 *            the error message
	 * @param cause
	 *            the cause
	 */
	public BsException(String message, Throwable cause) {
		super(message, cause);
	}

	/**
	 * Create an instance of this class by providing the error message.
	 * 
	 * @param message
	 *            the error message
	 */
	public BsException(String message) {
		super(message);
	}

	/**
	 * Create an instance of this class by providing the cause.
	 * 
	 * @param cause
	 *            the cause
	 */
	public BsException(Throwable cause) {
		super(cause.getMessage(), cause);
	}

}
